package com.pactera.madp.cp.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pactera.madp.cp.api.bo.ToDoListBO;
import com.pactera.madp.cp.api.entity.CpTaskPubEmpEntity;
import com.pactera.madp.cp.mapper.CpTaskPubEmpMapper;
import com.pactera.madp.cp.service.CpTaskPubEmpService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 任务发布-员工完成任务情况表(CpTaskPubEmp)表服务实现类
 *
 * @author jun.lei
 * @since 2022-05-11 16:47:35
 */
@AllArgsConstructor
@Slf4j
@Service("cpTaskPubEmpService")
public class CpTaskPubEmpServiceImpl extends ServiceImpl<CpTaskPubEmpMapper, CpTaskPubEmpEntity> implements CpTaskPubEmpService {

    @Override
    public Page<ToDoListBO> getToDoList(Page page, Integer employeeId,Integer status,Integer type) {
        return baseMapper.getToDoList(page,employeeId,status,type);
    }

}
